package com.example.teamtribe.main.club.manage.feedback.apply;

import com.example.teamtribe.base.BaseView;
import com.example.teamtribe.database.TeamRequest;

import java.util.List;

public interface AppListContract {

    interface View extends BaseView {

        void addRequest(TeamRequest request);
        void addRequest(List<TeamRequest> requests);
        void clearRequest();
        void notifyItemChanged(int position, TeamRequest request);
        void loadComplete();
    }

    interface Presenter {

        void start(int teamId);
        void getRequest();
        void agree(int position, TeamRequest request);
    }
}
